package layui.layui.dao;

import layui.layui.entity.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    List<Books> getBooks(@Param("keywd") String keywd);

    void deleteBooks(int[] ids);

    void editBookName(String name, int id);

    void editCount(int count, int id);

    String getName(int id);

    void addOrder(int stuId, int bookId);

    void minusCount(int bookId, int decrement);
}
